package com.article_protocol.pojo.dto;


import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

@Validated
@Data
public class AddArticleDTO {
    private String title;

    @NotNull
    private String data;

}
